// 引入person的ui组件
import PersonUi from "@/components/Person.ui.jsx"
// 引入connect连接ui组件和redux
import {connect} from "react-redux"
// 引入action
import {addPersonAction} from "@/redux/actions/person.action"

export default connect(
    state => ({person: state.person, sum: state.count}),
    {
      add: addPersonAction
    }
)(PersonUi)